<!DOCTYPE html>
<html lang="zh" ng-cloak>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>TreeView Directive Demo</title>

    <base href="/" target="_self" />

    <link rel="stylesheet" href="stylesheets/bootstrap.css" />
    <link rel="stylesheet" href="stylesheets/angular-csp.css" />

    <script data-main="javascripts/main.js" src="javascripts/require.js" type="text/javascript"></script>
</head>

<body>
    <div class="container" ng-controller="AgentCtrl">
        <div>
            <button class="btn btn-warning" ng-click="list()"><i class="glyphicon glyphicon-refresh">Refresh</i></button>
        </div>
        <div id="treeView" tree-view items="agents" adapter="agentAdapter" class="alert" style="width: 250px;"></div>
        <!--<tree-view tree-view items="agents" adapter="agentAdapter" class="alert" style="width: 250px;"> </tree-view>-->
    </div>
</body>

</html>